#include "Roller.h"

Roller::Roller(int chan){
	motor = new MotorWrapper(chan,MotorWrapper::speed, false);
}

Roller::~Roller() {
	delete motor;
}

void Roller::Forward(){
	motor->SetSetpoint(1);
}

void Roller::Reverse(){
	motor->SetSetpoint(-1);
}

void Roller::Stop() {
	motor->SetSetpoint(0);
}
